// Package article
/**
* @Project : geektime-basic-go-study
* @File    : article_author.go
* @IDE     : GoLand
* @Author  : Tvux
* @Date    : 2024/11/12 22:57
**/

package article

import (
	"context"
	"gorm.io/gorm"
)

type ArticleAuthorDao interface {
	Insert(ctx context.Context, article Article) (int64, error)
	UpdateByIdAndAuthorId(ctx context.Context, article Article) error
}

func NewArticleAuthorDao(db *gorm.DB) ArticleAuthorDao {
	panic("implement me")
}
